package org.plex.search.imp;

import org.plex.search.ColumnInfo;

import com.adobe.idp.taskmanager.dsc.client.query.ColumnInfoImpl;

public class ColumnInfoImp implements ColumnInfo
{
	private com.adobe.idp.taskmanager.dsc.client.query.ColumnInfo columnInfo;
	
	public com.adobe.idp.taskmanager.dsc.client.query.ColumnInfo getColumnInfo()
	{
		return columnInfo;
	}

	public void setColumnInfo(
			com.adobe.idp.taskmanager.dsc.client.query.ColumnInfo columnInfo)
	{
		this.columnInfo = columnInfo;
	}

	public ColumnInfoImp(com.adobe.idp.taskmanager.dsc.client.query.ColumnInfo columnInfo)throws NullPointerException
	{
	    if(null==columnInfo)
	    {
	    	throw new NullPointerException();
	    }
		this.columnInfo=columnInfo;
	}
	
	public ColumnInfoImp(String joinName,int columid)
	{
		this.columnInfo=new ColumnInfoImpl(columid,joinName);
	}
	
	public int getColumnId()
	{
		// TODO Auto-generated method stub
		return this.columnInfo.getColumnId();
	}

	public String getJoinName()
	{
		// TODO Auto-generated method stub
		return this.columnInfo.getJoinName();
	}

}
